{"version":3,"sources":["alert.bundle.js"],"names":["this","BX","exports","main_core","AlertColor","babelHelpers","classCallCheck","defineProperty","AlertSize","AlertIcon","_templateObject","Alert","options","text","color","size","icon","closeBtn","animated","customClass","beforeMessageHtml","Type","isElementNode","afterMessageHtml","setText","setSize","setIcon","setColor","setCloseBtn","setCustomClass","createClass","key","value","setClassList","getColor","getSize","getIcon","isStringFilled","getTextContainer","innerHTML","getText","textContainer","Dom","create","props","className","html","getCloseBtn","closeNode","events","click","handleCloseBtnClick","bind","animateClosing","remove","container","setBeforeMessageHtml","element","getBeforeMessageHtml","setAfterMessageHtml","getAfterMessageHtml","updateClassList","getCustomClass","classList","getClassList","getContainer","setAttribute","animateOpening","style","overflow","height","paddingTop","paddingBottom","marginBottom","opacity","setTimeout","scrollHeight","alertWrapPos","getPosition","show","hide","Tag","render","taggedTemplateLiteral","append","prepend","renderTo","node","isDomNode","appendChild","destroy","finished","textAfterContainer","textBeforeContainer","bar","property","hasOwnProperty","Object","setPrototypeOf","UI"],"mappings":"AAAAA,KAAKC,GAAKD,KAAKC,IAAM,IACpB,SAAUC,EAAQC,GAClB,aAKA,IAAIC,EAAa,SAASA,IACxBC,aAAaC,eAAeN,KAAMI,IAGpCC,aAAaE,eAAeH,EAAY,UAAW,oBACnDC,aAAaE,eAAeH,EAAY,SAAU,mBAClDC,aAAaE,eAAeH,EAAY,UAAW,oBACnDC,aAAaE,eAAeH,EAAY,UAAW,oBACnDC,aAAaE,eAAeH,EAAY,UAAW,oBACnDC,aAAaE,eAAeH,EAAY,OAAQ,iBAKhD,IAAII,EAAY,SAASA,IACvBH,aAAaC,eAAeN,KAAMQ,IAGpCH,aAAaE,eAAeC,EAAW,KAAM,eAC7CH,aAAaE,eAAeC,EAAW,KAAM,eAK7C,IAAIC,EAAY,SAASA,IACvBJ,aAAaC,eAAeN,KAAMS,IAGpCJ,aAAaE,eAAeE,EAAW,OAAQ,IAC/CJ,aAAaE,eAAeE,EAAW,OAAQ,sBAC/CJ,aAA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